package com.shensi.adminCollect.domain.fleet;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shensi.adminCollect.common.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;

public class FleetCardAllocationRecoveryRecord {
    private static final long serialVersionUID = 1L;

    public static final Integer ALLOCATION = 1;

    public static final Integer RECOVERY = 2;

    /** id */
    private Long id;

    /** 主卡id */
    @Excel(name = "主卡id")
    private Long fleetCardId;

    /** 子卡id */
    @Excel(name = "子卡id")
    private Long fleetCardSubId;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 类型(1:分配 2:回收) */
    @Excel(name = "类型(1:分配 2:回收)")
    private Integer type;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private Long del;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFleetCardId() {
        return fleetCardId;
    }

    public void setFleetCardId(Long fleetCardId) {
        this.fleetCardId = fleetCardId;
    }

    public Long getFleetCardSubId() {
        return fleetCardSubId;
    }

    public void setFleetCardSubId(Long fleetCardSubId) {
        this.fleetCardSubId = fleetCardSubId;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Long getDel() {
        return del;
    }

    public void setDel(Long del) {
        this.del = del;
    }
}
